﻿using System;
using System.Collections.Generic;
using KZ.Lottery.DAL;
using KZ.Lottery.Entities;
using System.Data;

namespace KZ.Lottery.BLL
{
    public class RuleDetailGroupReportBLL
    {
        public static decimal GetRuleDetailGroupReportForRevenue(DateTime? date)
        {
            return RuleDetailGroupReportDAL.GetRuleDetailGroupReportForRevenue(date);
        }

        public static void GetFirstDateLastDate(out DateTime? firstDate, out DateTime? lastDate)
        {
            RuleDetailGroupReportDAL.GetFirstDateLastDate(out firstDate, out lastDate);
        }

        public static DataTable GetRuleDetailGroupReportListForRuleChannel(string ruleID, DateTime from, DateTime to, string tableName)
        {
            return RuleDetailGroupReportDAL.GetRuleDetailGroupReportListForRuleChannel(ruleID, from, to, tableName);
        }

        public static DataTable GetRuleDetailGroupReportListForChannel(string ruleID, DateTime from, DateTime to, string tableName)
        {
            return RuleDetailGroupReportDAL.GetRuleDetailGroupReportListForChannel(ruleID, from, to, tableName);
        }

        public static DataTable GetRuleDetailGroupReportListForChannelTotal(string ruleID,DateTime from, DateTime to, string tableName)
        {
            return RuleDetailGroupReportDAL.GetRuleDetailGroupReportListForChannelTotal(ruleID, from, to, tableName);
        }

        public static DataTable GetRuleDetailGroupReportListForDate(string ruleID, DateTime from, DateTime to, string tableName)
        {
            return RuleDetailGroupReportDAL.GetRuleDetailGroupReportListForDate(ruleID, from, to, tableName);
        }
    }
}